package top.fzqblog.reflect

/**
 * Created by 抽离 on 2017/8/4 0004.
 */

class Foo
fun function(factory : () -> Foo) {
    val x: Foo = factory()
    println("x：" + x)
}

fun main(args: Array<String>) {
    function(::Foo)
}